home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_gnats.idb / usr / freeware / lib / gnats / contrib / tkgnats / tkgnats.cf.t.z / tkgnats.cf.t
Encoding:
Text File  |  1999-04-16  |  3.2 KB  |  121 lines

  1. #
  2. # $Id: tkgnats.cf.t,v 1.3 1993/11/16 22:19:34 jason Exp $
  3. #
  4. # The site configuration file for TkGnats
  5. #
  6. # This file is sourced by the TkGnats scripts
  7. # to obtain various configuration variables.
  8. #
  9.  
  10. ###
  11. ### This section is configured by the Makefile.
  12. ### You should change this via the Makefile. Do not edit it directly
  13. ###
  14.  
  15. set TkGnats(GNATS_SITE)        wxsystems; ##GNATS_SITE##
  16.                 # The name of your site. To be used by
  17.                 # tksendpr to find your category list.
  18.  
  19. set TkGnats(GNATS_ADDR)        wx-bugs@wx.gtegsc.com; ##GNATS_ADDR##
  20.                 # The default mail address for 
  21.                 # PR submissions to go to.
  22.  
  23. set TkGnats(TKGNATS_GNATS_ADDR)     tkgnats-bugs@wx.gtegsc.com;
  24.                 # The mail address for 
  25.                 # tkgnats PR submissions to go to.
  26.                 # used with tksendpr -tkgnats
  27.  
  28. set TkGnats(Submitter-Id)    $TkGnats(GNATS_SITE);
  29.                 # GNATS Submitter-Id for arriving
  30.                 # reports at TkGnats(GNATS_ADDR)
  31.  
  32. set GNATS_ROOT             /usr/local/gnats; ##GNATS_ROOT##
  33. set LIBDIR            /usr/local/lib; ##LIBDIR##
  34.  
  35. set TkGnats(lib)         ./; ##TKGNATSLIB##
  36. set TkGnats(pr-edit)        $LIBDIR/gnats/pr-edit
  37. set TkGnats(pr-addr)        $LIBDIR/gnats/pr-addr
  38. set TkGnats(CategoriesFile)    $LIBDIR/gnats/$TkGnats(GNATS_SITE)
  39.  
  40. ###
  41. ### Switch which turns on-off use of special REGEXP aware version
  42. ### of query-pr. Set this to zero if using the stock GNATS query-pr
  43. ###
  44. set TkGnats(RegexAwareQuerypr) 1
  45. ##set TkGnats(RegexAwareQuerypr) 0
  46.  
  47. ###
  48. ###
  49. ###
  50. set TkGnats(FilterDirectory) $LIBDIR/tkgnats-filters
  51.                 # directory that contains this systems
  52.                 # tkquery output filters (used in the filters
  53.                 # menu). if not defined, the menu is not 
  54.                 # presented at all
  55.  
  56. ###
  57. ### Definitions for various support programs used by tkgnats
  58. ###
  59.  
  60. ## set TkGnats(pr_editor)    "xterm -e edit-pr %s"
  61. set TkGnats(pr_editor)        "tkeditpr %s"
  62.                 # Format string used for editing a pr. 
  63.                 # the %s defines the pr to edit
  64.  
  65. set TkGnats(PSPreviewer)    "ghostview %s"
  66.                 # PostScript previewer for printed reports
  67.  
  68. set TkGnats(Mailer)        /bin/mail
  69.                 # Mailer to use for send prs, etc..
  70.  
  71. set TkGnats(MailReader)        "mailtool -Mi 240"
  72.                 # Mail reader to used by tkgnats script.
  73.                 # Commenting this out will cause the
  74.                 # 'Mail System' button to be omitted
  75.                 # from the tkgnats window
  76.  
  77. #set TkGnats(InfoReader)     "xinfo";  # usable but not as nice
  78. set TkGnats(InfoReader)        "tkinfo"; 
  79.                 # Info Reader to use
  80.                 # tkinfo expects INFOPATH set something like 
  81.                 # "setenv INFOPATH /usr/local/info"
  82.                 # you can get tkinfo from the Tcl archive
  83.  
  84. set TkGnats(PSPrintSpooler)    "lpr"
  85.                 # PostScript print spooler (from stdin)
  86.                 # Note: spaces must be put in between 
  87.                 # pipe characters if you use pipes
  88.  
  89. set TkGnats(PlainPrintSpooler) "fmt -s -75 | lpr"
  90.                 # Plain text print spooler (from stdin)
  91.                 # Note: spaces must be put in between 
  92.                 # pipe characters if you use pipes
  93.  
  94. #
  95. # TkGnats(LogName)
  96. # The login name for the user.
  97. #     - first check USER env var
  98. #     - then try LOGNAME
  99. #     - then try running whoami
  100. #
  101. if {[info exists env(USER)]} {
  102.     set TkGnats(LogName) $env(USER)
  103. } else {
  104.     if {[info exists env(LOGNAME)]} {
  105.     set TkGnats(LogName) $env(LOGNAME)
  106.     } {
  107.     set TkGnats(LogName) [exec whoami]
  108.     }
  109. }
  110.  
  111. set TkGnats(TextWrap)        none
  112.                 #
  113.                 # Type of wrapping to use on multiline
  114.                 # text fields
  115.                 #
  116.  
  117.  
  118. ###
  119. ### End
  120. ###
  121.